package com.example.rpcprovider.service.impl;

import com.example.rpcapi.domain.dto.UserDTO;
import com.example.rpcapi.service.UserRPCSersvice;
import org.springframework.stereotype.Service;

/**
 * @Description :
 * @Author : Bruce Lee
 * @CreateTime : 2024/4/15
 */



@Service("UserRPCServiceImplMulti")
public class UserRPCServiceImplMulti implements UserRPCSersvice {

    @Override
    public UserDTO getUserById(Long id) {
        UserDTO userDTO = new UserDTO();
        userDTO.setUsername("Lee");
        userDTO.setPassword("123456");
        userDTO.setId(2L);
        return userDTO;
    }

}
